package com.jnks.constant;

/**
 * <p>
 * 系统枚举类
 * </p>
 *
 * @author Ryo
 * @create 2024-04-12
 */
public interface BaseConstants {


    String USER_TOKEN = "userToken:";

    String PATTERN_DATETIME = "yyyy-MM-dd HH:mm:ss";
    String PATTERN_DATE = "yyyy-MM-dd";
    String PATTERN_TIME = "HH:mm:ss";

    /**
     * 项目目录
     */
    String BASE_PACKAGE_NAME = "net.sy";

    /**
     * 系统环境
     */
    String ENV_DEV = "dev";
    String ENV_TEST = "test";
    String ENV_PROD = "prod";


    String OSS_UPLOAD_PATH = "jqy_system/";
    String END_POINT = "oss-cn-shanghai.aliyuncs.com";
    String BUCKET_NAME = "hanku-shanghai";


    /**
     * 文件访问域名
     */
    String FILE_HOST = "https://static-shanghai.hanku.net.cn/";


    /**
     * 默认为空消息
     */
    String DEFAULT_NULL_MESSAGE = "暂无承载数据";
    /**
     * 默认成功消息
     */
    String DEFAULT_SUCCESS_MESSAGE = "操作成功";
    /**
     * 最大页数
     */
    Integer PAGE_MAX_SIZE = 100;

    char U_A = 'A';
    char L_A = 'a';
    char U_Z = 'Z';
    char L_Z = 'z';

    /**
     * 数字
     */
    int MINUS_TWO = -2;
    int NUM_ZERO = 0;
    int NUM_ONE = 1;
    int NUM_TWO = 2;
    int NUM_THREE = 3;
    int NUM_FOUR = 4;
    int NUM_FIVE = 5;
    int NUM_SIX = 6;
    int NUM_SEVEN = 7;
    int NUM_EIGHT = 8;
    int NUM_NINE = 9;
    int NUM_TEN = 10;
    int NUM_HUNDRED = 100;
    int NUM_THOUSAND = 1000;
    int NUM_2TO10M = 1024;


    long USER_TOKEN_EXPIRE_TIME = 60 * 60 * 5;

    String WEEK_FIRST_LAST_TIME_FLAG = "week";

    /**
     * 2018开始时间
     */
    String YEAR_BEGIN_TIME = "2018-01-01";

    /**
     * 年月
     */
    String YYYY_MM = "yyyy-MM";

    /**
     * 年
     */
    String YYYY = "yyyy";

    /**
     * 月
     */
    String mm = "mm";

    /**
     * 日
     */
    String dd = "dd";

    /**
     * 日
     */
    Integer deviceCategory = 1;

    /**
     * 日
     */
    Integer srikesDeviceCategory = 2;

    /**
     * redis 半个月有效期
     */
    long USER_AUTH_EXPIRE_TIME = 15 * 24 * 60 * 60;

    /**
     * 初始 0
     * 初始值
     */
    Integer INIT_NUMBER = 0;

    /**
     * 是否 他人无人机
     */

    Integer WHETHEROTHERS_NO = 0;

    Integer WHETHEROTHERS_YES = 1;

    String MSG = "您的飞行报备已通过请在飞行前，前往某某某派出所领取电子身份证，完成飞行后请及时归还，感谢您的配合！";
}
